@extends('admin.layout')
@section('content')
<div class="panel panel-default">
    <div id="notice">
    </div>
    <div class="panel-heading" style="height: auto;">
        <ol class="breadcrumb">
            <li>文章管理</li>
            <li><a href="/admin/article">文章列表</a></li>
            <li class="active">文章详情</li>
        </ol>
    </div>
    <div class="panel-body">
        <div class="table-responsive">
            <table class="table table-striped table-hover">
                <tr> <td width="150">文章标题:</td> <td>{{$art['title']}}</td> </tr>
                <tr> <td>作者:</td> <td>{{$username}}</td> </tr>
                <tr> <td>文章状态:</td> <td>@if($art['status'] == 1) 未审核 @elseif($art['status'] == 2) 已审核 @else 已删除 @endif</td> </tr>
                <tr> <td>所属话题:</td> <td>{{$topic}}</td> </tr>
                <tr> <td>所属栏目:</td> <td>{{$column}}</td> </tr>
                <tr> <td>创建时间:</td> <td>{{$art->created_at}}</td> </tr>
                <tr> <td>最后修改时间:</td> <td>{{$art->updated_at}}</td> </tr>
                <tr> <td>文章内容:</td>
                 <td><textarea name="content" id="" style="width: 100%;" readonly>{{$art->content}}</textarea></td> 
                 </tr>
                <tr> <td colspan="2">
                    <a class="btn btn-primary" href="/admin/art/com-{{$art['id']}}">审核通过</a><a class="btn btn-danger" href="/admin/art/del-{{$art['id']}}">扔进回收站</a>
                </td> </tr>
            </table>
        </div>
    </div>
</div>
@endsection